<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>爱心</title>
    <style>
        .heart {
            width: 100px;
            height: 100px;
            position: relative;
            transform: rotate(45deg);
            transform-origin: center;
        }
        .heart::before,
        .heart::after {
            content: "";
            width: 100px;
            height: 100px;
            background-color: red;
            position: absolute;
            border-radius: 50px 50px 0 0;
        }
        .heart::before {
            top: -50px;
            left: 0;
        }
        .heart::after {
            top: 0;
            left: -50px;
        }
    </style>
</head>
<body>
<div class="heart"></div>
</body>
</html>